package com.wyx.bbs.mapper;

import com.wyx.bbs.domain.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Author: Wu YunXia
 * @Description:
 * @Date: Created in 10:36 2021/3/31
 * @Modefied By:
 */
@Mapper
public interface UserMapper {

/**
 * 新增用户
 *
 * @return
 */
@Mapper
    int insertUser(User user);

@Mapper
User getUserByOpenId(String openId);
}
